package com.bootdo.common.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.common.dao.GenTableColumnDao;
import com.bootdo.common.domain.GenTableColumnDO;
import com.bootdo.common.service.GenTableColumnService;



@Service
public class GenTableColumnServiceImpl implements GenTableColumnService {
	@Autowired
	private GenTableColumnDao genTableColumnDao;
	
	@Override
	public GenTableColumnDO get(Long columnId){
		return genTableColumnDao.get(columnId);
	}
	
	@Override
	public List<GenTableColumnDO> list(Map<String, Object> map){
		return genTableColumnDao.list(map);
	}

	@Override
	public List<GenTableColumnDO> selectGenTableColumnListByTableId(Map<String, Object> map) {
		return genTableColumnDao.selectGenTableColumnListByTableId(map);
	}

	@Override
	public int countSelectGenTableColumnListByTableId(Map<String, Object> map) {
		return genTableColumnDao.countSelectGenTableColumnListByTableId(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return genTableColumnDao.count(map);
	}
	
	@Override
	public int save(GenTableColumnDO genTableColumn){
		return genTableColumnDao.save(genTableColumn);
	}
	
	@Override
	public int update(GenTableColumnDO genTableColumn){
		return genTableColumnDao.update(genTableColumn);
	}
	
	@Override
	public int remove(Long columnId){
		return genTableColumnDao.remove(columnId);
	}
	
	@Override
	public int batchRemove(Long[] columnIds){
		return genTableColumnDao.batchRemove(columnIds);
	}
	
}
